package cn.ickck.law_paper_final.service;

import cn.ickck.law_paper_final.model.entity.Pa;

import java.util.List;

/**
 * @Author: ck
 * @Description:
 * @Date: Create in 13:07 2020/12/13
 */
public interface PaService {
    void insert(Pa pa);

    void deleteById(Integer id);

    void update(Pa pa);

    int count();

    List<Pa> selectByPage(int start, int end);

    List<Pa> selectByNameOrKey(String key);

    void deleteByKey(String key);
}
